package com.bluestarenergy.provisioning.engine.batch.item.reader;

import java.util.List;

import org.springframework.batch.item.support.ListItemReader;

import com.bluestarenergy.provisioning.engine.domain.CustomerCredit;

public class CustomerItemReader extends ListItemReader<CustomerCredit>{

	public CustomerItemReader(List<CustomerCredit> list) {
		super(list);
	}

	public CustomerCredit read(){
		CustomerCredit readData = super.read();
		System.out.println("Reading data Name " + readData.getName());
		return readData;
	}

}
